package com.softer.wxzj.controller;

import com.softer.wxzj.common.aop.annotation.LogRecord;
import com.softer.wxzj.common.aop.enums.LogOperationType;
import com.softer.wxzj.common.aop.enums.LogOperationUnit;
import com.softer.wxzj.entity.TempTableOver;
import com.softer.wxzj.service.TempTableOverService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @program: wxzj
 * @author: wxr
 * @create: 2019-07-17 18:26
 **/
@RestController
@RequestMapping("/temTableOwer")
public class TemTableOwerController {
    @Autowired
    private TempTableOverService tempTableOverService;
    @RequestMapping("/getList")
    @LogRecord(description = "查询列表", operationUnit = LogOperationUnit.SYS_OPER, operationType = LogOperationType.UPDATE)
    public List<TempTableOver> getList() {
        return tempTableOverService.getList();
    }
}
